package com.yjt.common.enums;

public enum ResultCodeEnum {
    /**
     * 成功状态码
     */
    SUCCESS(10000,"成功"),
    ERROR(-10000,"失败"),
    ERROR_NO(-40004,"不存在"),
    PARAM_ERROR(-12000,"参数错误"),
    Error(-50000,"服务器未知错误,请稍后再试");


    ResultCodeEnum(Integer code, String msg ){
        this.code = code;this.msg=msg;
    }
    private Integer code;
    private String msg;
    public Integer getCode() {
        return code;
    }
    public String getMsg() {
        return msg;
    }
}
